package com.bbs.elsearch.dao;

import com.bbs.elsearch.entity.Articles;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;


public interface ArticleRepository extends ElasticsearchRepository<Articles,Long> {

    Articles findByArticleId(Integer articleId);

    void deleteByArticleId(Integer articleId);

}
